/**
 * User: Obi
 * Date: 27.08.11
 * Time: 20:28
 */
package com.jediflasher.game_client.utils.logging {
	import flash.events.Event;

	public class LoggerEvent extends Event {

		public static const INPUT:String = "input";

		public function LoggerEvent(type:String, text:String = null, bubbles:Boolean = false, cancelable:Boolean = false) {
			super(type, bubbles, cancelable);
			this._text = text;
		}

		private var _text:String;

		public function get text():String {return this._text;}

		override public function clone():Event {
			return new LoggerEvent(type, _text, bubbles, cancelable);
		}
	}
}
